home *** CD-ROM | disk | FTP | other *** search
- Path: dawn.mmm.com!news
- From: atluft@mmm.com (Aaron Luft)
- Newsgroups: comp.lang.apl,comp.lang.asm.x86,comp.lang.c,comp.lang.c++,comp.os.ms-windows.programmer.networks
- Subject: Re: API Call to Acquire Ethernet Address
- Date: 24 Feb 1996 00:56:30 GMT
- Organization: 3M Company
- Message-ID: <4glnnu$bb3@dawn.mmm.com>
- References: <4f0bml$lvd@noc.tor.hookup.net> <4fnm1j$52@ns2.emirates.net.ae> <4gi2fg$bcq@news.hal.com>
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- I use the NetBIOS get adapter status command passing a parameter of "*", it
- takes all of ten lines of code or so, but you do have to have NetBIOS support.
- I have done this with OS2, WIN NT, WFW, and DOS. I have never done this on a
- UNIX machine, but I think some do support NetBIOS.
-
- Your other option (in DOS environments) is doing a "cheap" bind when the
- device driver loads and make use of NDIS or OCX calls, but this is painful
- (especially if all you need is a MAC address).
-
- Opinions expressed herein are my own and may not represent those of 3M.
-